'''
产品信息模型类
'''

from typing import Optional
'''
二手物品模型类
'''
class IdleItemModel:
    def __init__(
            self,
            idle_name: Optional[str] = None,
            idle_details: Optional[str] = None,
            idle_price: Optional[str] = None,
            province: Optional[str] = None,
            city: Optional[str] = None,
            area: Optional[str] = None,
            product_type: Optional[str] = None
    ):
        self.idle_name = idle_name
        self.idle_details = idle_details
        self.idle_price = idle_price
        self.province = province
        self.city = city
        self.area = area
        self.product_type = product_type
